package com.czy.owner.entity;

import java.util.List;

/**
 * Created by Raven on 2017/12/14.
 */

public class BusinessServiceModel {


    /**
     * totalRow : 1
     * pageNumber : 1
     * firstPage : true
     * lastPage : true
     * totalPage : 1
     * pageSize : 10
     * list : [{"description":null,"constructionCommissionType":null,"commissionSettingId":null,"type":"service","delFlag":"false","categoryName":"服务主分类>服务0818","superCategoryId":3465,"serviceStatus":"idle","subModifyPriceFlag":"false","logo":"","showQueue":"false","settingType":null,"servicePriceL":0,"canReservation":"true","settingTypeId":null,"reservationPrice":0.01,"sort":1,"storeId":427,"serviceName":"服务0818子服务","servicePriceH":0,"salesCommissionValue":null,"subModifyReservationFlag":"flase","constructionCommissionValue":null,"servicePrice":2,"serviceCommissions":0,"fromStoreServiceId":0,"storeServiceId":2833,"statisticalFlag":"false","salesCommissionType":null,"superServiceId":2735,"isCanRefund":"true","status":"enable"}]
     */

    private int totalRow;
    private int pageNumber;
    private boolean firstPage;
    private boolean lastPage;
    private int totalPage;
    private int pageSize;
    private List<ServiceBean> list;

    public int getTotalRow() {
        return totalRow;
    }

    public void setTotalRow(int totalRow) {
        this.totalRow = totalRow;
    }

    public int getPageNumber() {
        return pageNumber;
    }

    public void setPageNumber(int pageNumber) {
        this.pageNumber = pageNumber;
    }

    public boolean isFirstPage() {
        return firstPage;
    }

    public void setFirstPage(boolean firstPage) {
        this.firstPage = firstPage;
    }

    public boolean isLastPage() {
        return lastPage;
    }

    public void setLastPage(boolean lastPage) {
        this.lastPage = lastPage;
    }

    public int getTotalPage() {
        return totalPage;
    }

    public void setTotalPage(int totalPage) {
        this.totalPage = totalPage;
    }

    public int getPageSize() {
        return pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public List<ServiceBean> getList() {
        return list;
    }

    public void setList(List<ServiceBean> list) {
        this.list = list;
    }

    public static class ServiceBean {


        private int storeId;
        private String logo;
        private String description;
        private double reservationPrice;//定金
        private double servicePriceL;
        private double servicePriceH;
        private String serviceName;
        private double servicePrice;
        private String categoryName;
        private int superCategoryId;
        private int fromStoreServiceId;
        private int storeServiceId;
        private int superServiceId;
        private double storeMemberPrice = -1;

        public double getStoreMemberPrice() {
            return storeMemberPrice;
        }

        public void setStoreMemberPrice(double storeMemberPrice) {
            this.storeMemberPrice = storeMemberPrice;
        }

        public int getStoreId() {
            return storeId;
        }

        public void setStoreId(int storeId) {
            this.storeId = storeId;
        }

        public String getLogo() {
            return logo;
        }

        public void setLogo(String logo) {
            this.logo = logo;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public double getReservationPrice() {
            return reservationPrice;
        }

        public void setReservationPrice(double reservationPrice) {
            this.reservationPrice = reservationPrice;
        }

        public double getServicePriceL() {
            return servicePriceL;
        }

        public void setServicePriceL(double servicePriceL) {
            this.servicePriceL = servicePriceL;
        }

        public double getServicePriceH() {
            return servicePriceH;
        }

        public void setServicePriceH(double servicePriceH) {
            this.servicePriceH = servicePriceH;
        }

        public String getServiceName() {
            return serviceName;
        }

        public void setServiceName(String serviceName) {
            this.serviceName = serviceName;
        }

        public double getServicePrice() {
            return servicePrice;
        }

        public void setServicePrice(double servicePrice) {
            this.servicePrice = servicePrice;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public int getSuperCategoryId() {
            return superCategoryId;
        }

        public void setSuperCategoryId(int superCategoryId) {
            this.superCategoryId = superCategoryId;
        }

        public int getFromStoreServiceId() {
            return fromStoreServiceId;
        }

        public void setFromStoreServiceId(int fromStoreServiceId) {
            this.fromStoreServiceId = fromStoreServiceId;
        }

        public int getStoreServiceId() {
            return storeServiceId;
        }

        public void setStoreServiceId(int storeServiceId) {
            this.storeServiceId = storeServiceId;
        }

        public int getSuperServiceId() {
            return superServiceId;
        }

        public void setSuperServiceId(int superServiceId) {
            this.superServiceId = superServiceId;
        }
    }
}
